<h2 class="title">计划批复</h2>
<form action="index.php" method="GET">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">计划批复编号</td>
	<td class="tr_td_width03"><input type="text" class="input_select_stand txt-normal" name="plan_reply_no" value="{%$smarty.get.plan_reply_no%}" /></td>
	<td class="tr_td_width02 alignright">计划申请编号</td>
	<td>
		<input type="text" class="input_select_stand txt-normal" name="investment_no" value="{%$smarty.get.investment_no%}"/>
		<input type="hidden" name="c" value="{%$smarty.get.c%}">
	</td>
</tr>
<tr>
	<td  class="alignright">计划批复日期</td>
	<td colspan="3">
		<input class="input_date_select txt-normal" type=text name="plan_reply_start" id="plan_reply_start"  value='{%$smarty.get.plan_reply_start%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "plan_reply_start",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
		<label class="label01">至</label>
		<input class="input_date_select  txt-normal" type=text name="plan_reply_end" id="plan_reply_end"  value='{%$smarty.get.plan_reply_end%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "plan_reply_end",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
</table>
<p class="btn_right">
	<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_plan_reply&m=add'"><span><em>添加</em></span></button>
</p>
</form>
<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">计划批复编号</td>
	<td class="list_td_zw_08">计划申请编号</td>
	<td class="list_td_zw_05">申请人员</td>
	<td class="list_td_zw_10">计划调整编号</td>
	<td class="list_date">批复日期</td>
	<td class="list_char4">批复金额</td>
	<!--<td width="30%">计划备注</td>-->
	<td>批复备注</td>
	<td class="list_td_zw_opt03">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td class="alignleft">{%$arr_item.plan_reply_no%}</td>
	<td class="alignleft">{%$arr_item.investment_no%}</td>
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
	<td class="alignleft" title="{%$arr_item.plan_change_no%}" >{%$arr_item.plan_change_no%}</td>
	<td>{%$arr_item.plan_reply|date_format:"%Y-%m-%d"%}</td>
	<td class="alignleft">{%$arr_item.plan_reply_price%}</td>
	<!--<td class="alignleft" title="{%$arr_item.plan_notes%}">{%cut_str str=$arr_item.plan_notes sublen=20%}</td>-->
	<td class="alignleft" title="{%$arr_item.plan_reply_content%}">{%cut_str str=$arr_item.plan_reply_content sublen=12%}</td>
	<td  class="alignleft">		
		<!--{% if $arr_item.file_path%}
		<a href='{%$upload_file_path%}{%$arr_item.file_path%}' target="_blank">附件</a>&nbsp;
		{%/if%}-->
		<a href="index.php?c=zy_plan_reply&m=browse&plan_reply_id={%$arr_item.plan_reply_id%}&investment_no={%$arr_item.investment_no%}">详细</a>
		&nbsp;<a href='index.php?c=zy_plan_reply&m=edit&plan_reply_id={%$arr_item.plan_reply_id%}'>修改</a>
		{% if $arr_item.reply_state == 0%}
		&nbsp;<a href='index.php?c=zy_plan_reply&m=change_state&plan_reply_id={%$arr_item.plan_reply_id%}' onclick="return confirm('您确认要关闭该批复吗')">关闭</a>
		{%/if%}
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="15">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}